package com.laowang.project.system.domain;

import java.math.BigDecimal;

import com.laowang.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 网页端商品对象 web_goods
 *
 * @author laowang
 * @date 2023-10-16
 */
@NoArgsConstructor
@Data
public class WebGoods implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @ApiModelProperty(value = "${comment}", required = false)
    private Integer id;

    /**
     * 标题
     */
    @Excel(name = "标题")
    @ApiModelProperty(value = "标题", required = false)
    private String title;

    /**
     * 规格
     */
    @Excel(name = "规格")
    @ApiModelProperty(value = "规格", required = false)
    private String desc;

    /**
     * 价格
     */
    @Excel(name = "价格")
    @ApiModelProperty(value = "价格", required = false)
    private BigDecimal price;

    /**
     * 类别
     */
    @Excel(name = "类别")
    @ApiModelProperty(value = "类别", required = false)
    private Integer category;

    /**
     * 图片
     */
    @Excel(name = "图片")
    @ApiModelProperty(value = "图片", required = false)
    private String img;


}
